import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { TypeSchema } from '../types/schemas/type.schema';
import { DataSourceService } from './dataSource.service';

@Module({
  imports: [
    MongooseModule.forFeature([
      { name: 'type', schema: TypeSchema },
    ]),
  ],
  providers: [DataSourceService],
  exports: [DataSourceService],
})
export class DataSourceModule {}